package com.whm.hrmanagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.whm.common.annotation.Excel;
import com.whm.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 培训信息记录对象 oa_training_info
 * 
 * @author whm
 * @date 2024-02-19
 */
public class OaTrainingInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 培训记录ID */
    private Long id;
    /** 培训人员真实姓名 */
    @Excel(name = "培训人员姓名")
    private String trainerNametxt;

    /** 培训人员 */

    private String trainerName;

    @Excel(name = "所属部门")
    private String departmentNameTxt;

    /** 培训渠道 */
    @Excel(name = "培训渠道")
    private String trainingChannel;

    /** 培训类别 */
    @Excel(name = "培训类别")
    private String trainingCategory;

    /** 培训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trainingDate;

    /** 培训地点 */
    @Excel(name = "培训地点")
    private String trainingLocation;

    /** 培训机构名称 */
    @Excel(name = "培训机构名称")
    private String trainingOrganizationName;

    /** 培训机构联系人 */
    @Excel(name = "培训机构联系人")
    private String trainingOrganizationContact;

    /** 培训课程名称 */
    @Excel(name = "培训课程名称")
    private String trainingCourseName;

    /** 所属部门 */

    private Long departmentName;




    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTrainerName(String trainerName) 
    {
        this.trainerName = trainerName;
    }

    public String getTrainerName() 
    {
        return trainerName;
    }
    public void setDepartmentNameTxt(String departmentNameTxt) 
    {
        this.departmentNameTxt = departmentNameTxt;
    }

    public String getDepartmentNameTxt() 
    {
        return departmentNameTxt;
    }
    public void setTrainingChannel(String trainingChannel) 
    {
        this.trainingChannel = trainingChannel;
    }

    public String getTrainingChannel() 
    {
        return trainingChannel;
    }
    public void setTrainingCategory(String trainingCategory) 
    {
        this.trainingCategory = trainingCategory;
    }

    public String getTrainingCategory() 
    {
        return trainingCategory;
    }
    public void setTrainingDate(Date trainingDate) 
    {
        this.trainingDate = trainingDate;
    }

    public Date getTrainingDate() 
    {
        return trainingDate;
    }
    public void setTrainingLocation(String trainingLocation) 
    {
        this.trainingLocation = trainingLocation;
    }

    public String getTrainingLocation() 
    {
        return trainingLocation;
    }
    public void setTrainingOrganizationName(String trainingOrganizationName) 
    {
        this.trainingOrganizationName = trainingOrganizationName;
    }

    public String getTrainingOrganizationName() 
    {
        return trainingOrganizationName;
    }
    public void setTrainingOrganizationContact(String trainingOrganizationContact) 
    {
        this.trainingOrganizationContact = trainingOrganizationContact;
    }

    public String getTrainingOrganizationContact() 
    {
        return trainingOrganizationContact;
    }
    public void setTrainingCourseName(String trainingCourseName) 
    {
        this.trainingCourseName = trainingCourseName;
    }

    public String getTrainingCourseName() 
    {
        return trainingCourseName;
    }
    public void setDepartmentName(Long departmentName) 
    {
        this.departmentName = departmentName;
    }

    public Long getDepartmentName() 
    {
        return departmentName;
    }
    public void setTrainerNametxt(String trainerNametxt) 
    {
        this.trainerNametxt = trainerNametxt;
    }

    public String getTrainerNametxt() 
    {
        return trainerNametxt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trainerName", getTrainerName())
            .append("departmentNameTxt", getDepartmentNameTxt())
            .append("trainingChannel", getTrainingChannel())
            .append("trainingCategory", getTrainingCategory())
            .append("trainingDate", getTrainingDate())
            .append("trainingLocation", getTrainingLocation())
            .append("trainingOrganizationName", getTrainingOrganizationName())
            .append("trainingOrganizationContact", getTrainingOrganizationContact())
            .append("trainingCourseName", getTrainingCourseName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("departmentName", getDepartmentName())
            .append("trainerNametxt", getTrainerNametxt())
            .toString();
    }
}
